import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import pinia from './stores'

import 'vant/lib/index.css'
// main.scss因为后续要覆盖主题色样式 所以要写在vant的样式后面提高优先级 或者2个:root提高优先级
import '@/styles/main.scss'
import 'virtual:svg-icons-register'

// app实例
const app = createApp(App)

app.use(pinia)
// vue实例 vue的插件 所以app.use(router)
app.use(router)

app.mount('#app')
